<?php
if (isset($this->message)) {
    echo '<div class="success">' . implode($this->message) . '</div>';
}